package com.briup.day07;

/**
 * @author lining
 * @date 2024/1/16 15:14
 */
public class TestStudent {
    public static void main(String[] args) {
        //程序中存储一个新来的学生，户籍南昌
        Student s = new Student();
        System.out.println("s同学的户籍："+s.getCity());
        System.out.println("s同学的学校："+s.getSchool());
        Student s2 = new Student(1, "jack");
        System.out.println("s2同学的户籍："+s2.getCity());
        System.out.println("s2同学的学校："+s2.getSchool());

    }
}
